<table class="table table-striped table-bordered table-condensed">
    <thead>
        <tr>
            <th>Unit Code</th>
            <th>Name</th>
            <th class="th-action center">Action</th>
        </tr>
    </thead>
    <tbody>

        <?  foreach($objects as $object): ?> 

            <tr>
                <td><?=$object->ID?></td>
                <td><strong><?=$object->name?></strong></td>              
                <td class="center">
                    <a href="#" onclick="editObjectDialog(base_url+'objects/view_edit/<?=$object->ID?>');return false;">Edit</a> |
                    <a href="<?=base_url()?>objects/delete/<?=$object->ID?>" class="delete_post">Delete</a>
                </td>
            </tr>                                      

            <? endforeach; ?>

    </tbody>
</table>